/**
 * 
 */
package com.taobao.api.model;

import java.util.Date;
import java.util.List;

import com.taobao.api.model.Order;

/**
 * @author sulinchong.pt
 * 
 */
public class Trade extends TaobaoModel{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8410518683112517552L;
	private String sellerNick;
	private String buyerNick;
	private String iid;
	private String title;
	private String price;

	private String picPath;
	private Integer num;
	private Date created;
	private String type;
	private String tid;

	private String alipayNo;
	private String payment;
	private String status;
	private Boolean sellerRate;
	private Boolean buyerRate;
	
	/**
	 * 买家留言
	 */
	private String buyerMessage;
	/**
	 * 付款时间
	 */
	private Date payTime;
	/**
	 * 交易结束时间
	 */
	private Date endTime;
	/**
	 * 交易修改时间
	 */
	private Date modified;
	/**
	 * 买家获得积分
	 */
	private Integer buyerObtainPointFee;
	/**
	 * 买家使用积分
	 */
	private Integer pointFee;
	/**
	 * 买家实际使用积分
	 * <li>没有退款时和pointFee的值一样
	 */
	private Integer realPointFee;
	/**
	 * 淘宝物流订单号
	 */
	private String sid;
	/**
	 * 外部物流系统订单号
	 */
	private String outSid;
	/**
	 * 卖家备注
	 */
	private String sellerMemo;
	/**
	 * 买家备注
	 */
	private String buyerMemo;
	/**
	 * 买家付款金额
	 */
	private String totalFee;
	/**
	 * 子订单详情
	 */
	private List<Order> orders;
	public String getSellerNick() {
		return sellerNick;
	}

	public void setSellerNick(String sellerNick) {
		this.sellerNick = sellerNick;
	}

	public String getBuyerNick() {
		return buyerNick;
	}

	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}

	public String getIid() {
		return iid;
	}

	public void setIid(String iid) {
		this.iid = iid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String getAlipayNo() {
		return alipayNo;
	}

	public void setAlipayNo(String alipayNo) {
		this.alipayNo = alipayNo;
	}

	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Boolean getSellerRate() {
		return sellerRate;
	}

	public void setSellerRate(Boolean sellerRate) {
		this.sellerRate = sellerRate;
	}

	public Boolean getBuyerRate() {
		return buyerRate;
	}

	public void setBuyerRate(Boolean buyerRate) {
		this.buyerRate = buyerRate;
	}

	/**
	 * @return the buyerMessage
	 */
	public String getBuyerMessage() {
		return buyerMessage;
	}

	/**
	 * @param buyerMessage the buyerMessage to set
	 */
	public void setBuyerMessage(String buyerMessage) {
		this.buyerMessage = buyerMessage;
	}

	/**
	 * @return the payTime
	 */
	public Date getPayTime() {
		return payTime;
	}

	/**
	 * @param payTime the payTime to set
	 */
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	/**
	 * @return the endTime
	 */
	public Date getEndTime() {
		return endTime;
	}

	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * @return the modified
	 */
	public Date getModified() {
		return modified;
	}

	/**
	 * @param modified the modified to set
	 */
	public void setModified(Date modified) {
		this.modified = modified;
	}

	/**
	 * @return the buyerObtainPointFee
	 */
	public Integer getBuyerObtainPointFee() {
		return buyerObtainPointFee;
	}

	/**
	 * @param buyerObtainPointFee the buyerObtainPointFee to set
	 */
	public void setBuyerObtainPointFee(Integer buyerObtainPointFee) {
		this.buyerObtainPointFee = buyerObtainPointFee;
	}

	/**
	 * @return the pointFee
	 */
	public Integer getPointFee() {
		return pointFee;
	}

	/**
	 * @param pointFee the pointFee to set
	 */
	public void setPointFee(Integer pointFee) {
		this.pointFee = pointFee;
	}

	/**
	 * @return the realPointFee
	 */
	public Integer getRealPointFee() {
		return realPointFee;
	}

	/**
	 * @param realPointFee the realPointFee to set
	 */
	public void setRealPointFee(Integer realPointFee) {
		this.realPointFee = realPointFee;
	}

	/**
	 * @return the sid
	 */
	public String getSid() {
		return sid;
	}

	/**
	 * @param sid the sid to set
	 */
	public void setSid(String sid) {
		this.sid = sid;
	}

	/**
	 * @return the outSid
	 */
	public String getOutSid() {
		return outSid;
	}

	/**
	 * @param outSid the outSid to set
	 */
	public void setOutSid(String outSid) {
		this.outSid = outSid;
	}

	/**
	 * @return the sellerMemo
	 */
	public String getSellerMemo() {
		return sellerMemo;
	}

	/**
	 * @param sellerMemo the sellerMemo to set
	 */
	public void setSellerMemo(String sellerMemo) {
		this.sellerMemo = sellerMemo;
	}

	/**
	 * @return the buyerMemo
	 */
	public String getBuyerMemo() {
		return buyerMemo;
	}

	/**
	 * @param buyerMemo the buyerMemo to set
	 */
	public void setBuyerMemo(String buyerMemo) {
		this.buyerMemo = buyerMemo;
	}

	/**
	 * @return the totalFee
	 */
	public String getTotalFee() {
		return totalFee;
	}

	/**
	 * @param totalFee the totalFee to set
	 */
	public void setTotalFee(String totalFee) {
		this.totalFee = totalFee;
	}

	/**
	 * @return the orders
	 */
	public List<Order> getOrders() {
		return orders;
	}

	/**
	 * @param orders the orders to set
	 */
	public void setOrders(List<Order> orders) {
		this.orders = orders;
	}

	
}
